<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
    <include file="Public:Clubadminheader" />
        <!-- Side menu -->
        <!-- 引用header.html -->
        <!-- /Side menu -->
       
        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
               俱乐部用户管理
                </h2>
            </div> <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">
                        <i class="icon-group"></i>
                        <h5> 俱乐部用户列表</h5>
                       <div class="widget-buttons">
                            <!--<a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>-->
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>
                    </div>
                    <div class="widget-body table-responsive ">
                        <table id="users" class="table table-condensed table-striped table-bordered dataTable">
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>用户名</th>
                                <th>联系电话</th> 
                                <th>创建时间</th>
                               
                                <th>操作</th>
                            </tr>
                            </thead>
                        <tbody>
                                 <volist name="user" id="vo">
                            <tr>
                            <td>{$vo.user_id}</td>
                             <td>{$vo.username}</td>
                             <td>{$vo.user_tel}</td>
                             <td>{$vo.createtime}</td>
                            
                              <td>
                                        <if condition="$vo.state eq '0'">正常
                                            <else/>
                                            已禁用
                                        </if>
                                    </td>
                        <td>
                        <if condition="$vo.state eq '0'">
                                            <a href="__URL__/state/id/{$vo.user_id}/state/{$vo.state}">暂停使用</a>|
                                            <else/>
                                            <a href="__URL__/restate/id/{$vo.user_id}/state/{$vo.state}"> 取消禁用</a>|
                                        </if>
                        <a href="detailuser/user_id/{$vo.user_id}"> 查看详情</a>  |
                        <a href="editpswd/user_id/{$vo.user_id}"> 密码重置</a>|
                        <a href="deluser/user_id/{$vo.user_id}" onclick="return confirm('你确定要删除吗？')"><!-- <i class="icon-trash"></i> -->删除</a>
                        </td>


                        </tr>
                        </volist>
                            </tbody>
                        </table>
                    </div> <!-- /widget-body -->
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>